package com.nextbus.transit;

import java.util.ArrayList;
import java.util.HashMap;

public class TransitSource {
    public static HashMap<String, String> routeAndRouteTitle;
    public static ArrayList<String> allRouteTags;
    
    public TransitSource(HashMap<String, String> routeAndRouteTitle) {
        super();
        this.routeAndRouteTitle = routeAndRouteTitle;
    }
    
    public int getRouteSize() {
        return routeAndRouteTitle.size();
    }
    
    static {
        routeAndRouteTitle = new HashMap<String, String>();
        // 添加路线
        routeAndRouteTitle.put("2", "2");
        routeAndRouteTitle.put("4", "4");
        routeAndRouteTitle.put("10", "10");
        routeAndRouteTitle.put("14", "14");
        routeAndRouteTitle.put("16", "16");
        routeAndRouteTitle.put("18", "18");
        routeAndRouteTitle.put("20", "20");
        routeAndRouteTitle.put("28", "28");
        routeAndRouteTitle.put("30", "30");
        routeAndRouteTitle.put("33", "33");
        routeAndRouteTitle.put("35", "35");
        routeAndRouteTitle.put("37", "37");
        routeAndRouteTitle.put("38", "38");
        routeAndRouteTitle.put("40", "40");
        routeAndRouteTitle.put("42", "42");
        routeAndRouteTitle.put("45", "45");
        routeAndRouteTitle.put("48", "48");
        routeAndRouteTitle.put("51", "51");
        routeAndRouteTitle.put("52", "52");
        routeAndRouteTitle.put("53", "53");
        routeAndRouteTitle.put("55", "55");
        routeAndRouteTitle.put("60", "60");
        routeAndRouteTitle.put("62", "62");
        routeAndRouteTitle.put("66", "66");
        routeAndRouteTitle.put("68", "68");
        routeAndRouteTitle.put("70", "70");
        routeAndRouteTitle.put("71", "71");
        routeAndRouteTitle.put("76", "76");
        routeAndRouteTitle.put("78", "78");
        routeAndRouteTitle.put("79", "79");
        routeAndRouteTitle.put("81", "81");
        routeAndRouteTitle.put("83", "83");
        routeAndRouteTitle.put("84", "84");
        routeAndRouteTitle.put("90", "90");
        routeAndRouteTitle.put("91", "91");
        routeAndRouteTitle.put("92", "92");
        routeAndRouteTitle.put("94", "94");
        routeAndRouteTitle.put("96", "96");
        routeAndRouteTitle.put("102", "102");
        routeAndRouteTitle.put("105", "105");
        routeAndRouteTitle.put("108", "108");
        routeAndRouteTitle.put("110", "110");
        routeAndRouteTitle.put("111", "111");
        routeAndRouteTitle.put("115", "115");
        routeAndRouteTitle.put("117", "117");
        routeAndRouteTitle.put("120", "120");
        routeAndRouteTitle.put("125", "125");
        routeAndRouteTitle.put("126", "126");
        routeAndRouteTitle.put("127", "127");
        routeAndRouteTitle.put("128", "128");
        routeAndRouteTitle.put("130", "130");
        routeAndRouteTitle.put("150", "150");
        routeAndRouteTitle.put("152", "152");
        routeAndRouteTitle.put("154", "154");
        routeAndRouteTitle.put("155", "155");
        routeAndRouteTitle.put("156", "156");
        routeAndRouteTitle.put("158", "158");
        routeAndRouteTitle.put("161", "161");
        routeAndRouteTitle.put("163", "163");
        routeAndRouteTitle.put("164", "164");
        routeAndRouteTitle.put("165", "165");
        routeAndRouteTitle.put("166", "166");
        routeAndRouteTitle.put("167", "167");
        routeAndRouteTitle.put("169", "169");
        routeAndRouteTitle.put("175", "175");
        routeAndRouteTitle.put("176", "176");
        routeAndRouteTitle.put("177", "177");
        routeAndRouteTitle.put("180", "180");
        routeAndRouteTitle.put("181", "181");
        routeAndRouteTitle.put("183", "183");
        routeAndRouteTitle.put("190", "190");
        routeAndRouteTitle.put("194", "194");
        routeAndRouteTitle.put("200", "200");
        routeAndRouteTitle.put("201", "201");
        routeAndRouteTitle.put("202", "202");
        routeAndRouteTitle.put("204", "204");
        routeAndRouteTitle.put("205", "205");
        routeAndRouteTitle.put("206", "206");
        routeAndRouteTitle.put("207", "207");
        routeAndRouteTitle.put("209", "209");
        routeAndRouteTitle.put("210", "210");
        routeAndRouteTitle.put("211", "211");
        routeAndRouteTitle.put("212", "212");
        routeAndRouteTitle.put("215", "215");
        routeAndRouteTitle.put("217", "217");
        routeAndRouteTitle.put("218", "218");
        routeAndRouteTitle.put("220", "220");
        routeAndRouteTitle.put("222", "222");
        routeAndRouteTitle.put("224", "224");
        routeAndRouteTitle.put("230", "230");
        routeAndRouteTitle.put("232", "232");
        routeAndRouteTitle.put("233", "233");
        routeAndRouteTitle.put("234", "234");
        routeAndRouteTitle.put("236", "236");
        routeAndRouteTitle.put("237", "237");
        routeAndRouteTitle.put("239", "239");
        routeAndRouteTitle.put("240", "240");
        routeAndRouteTitle.put("242", "242");
        routeAndRouteTitle.put("243", "243");
        routeAndRouteTitle.put("244", "244");
        routeAndRouteTitle.put("245", "245");
        routeAndRouteTitle.put("246", "246");
        routeAndRouteTitle.put("251", "251");
        routeAndRouteTitle.put("252", "252");
        routeAndRouteTitle.put("254", "254");
        routeAndRouteTitle.put("256", "256");
        routeAndRouteTitle.put("258", "258");
        routeAndRouteTitle.put("260", "260");
        routeAndRouteTitle.put("264", "264");
        routeAndRouteTitle.put("265", "265");
        routeAndRouteTitle.put("266", "266");
        routeAndRouteTitle.put("267", "267");
        routeAndRouteTitle.put("268", "268");
        routeAndRouteTitle.put("270", "270");
        routeAndRouteTitle.put("287", "287");
        routeAndRouteTitle.put("290", "290");
        routeAndRouteTitle.put("292", "292");
        routeAndRouteTitle.put("302", "302");
        routeAndRouteTitle.put("305", "305");
        routeAndRouteTitle.put("311", "311");
        routeAndRouteTitle.put("312", "312");
        routeAndRouteTitle.put("316", "316");
        routeAndRouteTitle.put("344", "344");
        routeAndRouteTitle.put("352", "352");
        routeAndRouteTitle.put("353", "353");
        routeAndRouteTitle.put("355", "355");
        routeAndRouteTitle.put("358", "358");
        routeAndRouteTitle.put("363", "363");
        routeAndRouteTitle.put("364", "364");
        routeAndRouteTitle.put("378", "378");
        routeAndRouteTitle.put("439", "439");
        routeAndRouteTitle.put("442", "442");
        routeAndRouteTitle.put("450", "450");
        routeAndRouteTitle.put("460", "460");
        routeAndRouteTitle.put("485", "485");
        routeAndRouteTitle.put("487", "487");
        routeAndRouteTitle.put("489", "489");
        routeAndRouteTitle.put("534", "534");
        routeAndRouteTitle.put("550", "550");
        routeAndRouteTitle.put("577", "577");
        routeAndRouteTitle.put("603", "603");
        routeAndRouteTitle.put("605", "605");
        routeAndRouteTitle.put("607", "607");
        routeAndRouteTitle.put("611", "611");
        routeAndRouteTitle.put("612", "612");
        routeAndRouteTitle.put("620", "620");
        routeAndRouteTitle.put("625", "625");
        routeAndRouteTitle.put("645", "645");
        routeAndRouteTitle.put("656", "656");
        routeAndRouteTitle.put("665", "665");
        routeAndRouteTitle.put("685", "685");
        routeAndRouteTitle.put("686", "686");
        routeAndRouteTitle.put("687", "687");
        routeAndRouteTitle.put("704", "704");
        routeAndRouteTitle.put("705", "705");
        routeAndRouteTitle.put("710", "710");
        routeAndRouteTitle.put("720", "720");
        routeAndRouteTitle.put("728", "728");
        routeAndRouteTitle.put("730", "730");
        routeAndRouteTitle.put("733", "733");
        routeAndRouteTitle.put("734", "734");
        routeAndRouteTitle.put("740", "740");
        routeAndRouteTitle.put("741", "741");
        routeAndRouteTitle.put("745", "745");
        routeAndRouteTitle.put("750", "750");
        routeAndRouteTitle.put("751", "751");
        routeAndRouteTitle.put("754", "754");
        routeAndRouteTitle.put("757", "757");
        routeAndRouteTitle.put("760", "760");
        routeAndRouteTitle.put("761", "761");
        routeAndRouteTitle.put("762", "762");
        routeAndRouteTitle.put("770", "770");
        routeAndRouteTitle.put("780", "780");
        routeAndRouteTitle.put("794", "794");
        routeAndRouteTitle.put("901", "901");
        routeAndRouteTitle.put("910", "910");
        
        allRouteTags = new ArrayList<String>(routeAndRouteTitle.keySet());
    }
}
